package com.lyl.security.common.result;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ResultCode implements BizCode {

    SUCCESS(200,"成功"),
    FAILURE(400,"失败"),

    //业务异常
    BIZ_ERROR(10001,"业务异常")
    ;

    private final int code;
    private final String msg;
}
